package com.whw.springboot.bcucb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value="com-whw-springboot-bcucb-entity-Download")
@Data
public class Download {
    /**
    * 下载id
    */
    @ApiModelProperty(value="下载id")
    private Integer downloadId;

    /**
    * 案例号
    */
    @ApiModelProperty(value="案例号")
    private String caseId;

    /**
    * 用户id
    */
    @ApiModelProperty(value="用户id")
    private String userId;

    /**
    * 下载时间
    */
    @ApiModelProperty(value="下载时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date downloadTime;
}